home *** CD-ROM | disk | FTP | other *** search
- Date: Tue, 17 Dec 1991 15:12:33 +0100
- From: "(Alain Brossard EPFL-SIC/SII)" <brossard@sasun1.epfl.ch>
- Message-Id: <9112171412.AA23124@sasun1.epfl.ch>
- To: sun-managers@eecs.nwu.edu
- Subject: Information:(2) NIS and password security
-
- This is a summary/followup on my own message of a week ago.
- It turns out that the first patch of ypserv didn't solve all
- the problems:
- 1- there was still a critical race which could have
- allowed a cracker in (found by Peter Lamb)
- 2- Casper H.S. Dik mentionned (and proved) that ypxfrd
- had the same problem
- 3- There was still the problem that a DNS in bad hands
- could spoof anybody (Sun's fix to BSD bind for this
- still had one whole, BSD's bind is highly vulnerable)
- (The fix for this came from Tho Deraadt)
- 4- The annoying erroneous warning nres_gethostbyaddr: ... != ...
- has been fixed (this was suggested by Vince Giambalvo) and
- Tho Deraadt provided the impetus.
-
-
- Once again due to copyright restrictions, sources are not
- available. However for those who want the source patches, send
- me the last 3 lines of ypserv.c and I'll e-mail them ...
- as long as it's in before Thursday night local time :-).
- For those who want to rebuild their libc.so, I have included
- gethostnamadr.o which has been fixed (see 3- above). For my
- local managers, I also included the full libc.so which is why
- the main patch is big (800KBytes+). My libc.so included uses
- the DNS directly which is why it needed to be patched. If you
- use DNS via the ypserver, it has been patched already, no need
- for the libc.so.
-
- The patch is available, for now, on litsun.epfl.ch in the directory
- pub. Since the cost of transfering my local patch with the libc's
- might be too high across continents, I also made a second file
- without the libc's. I've been told that I shouldn't use litsun
- in the future, so the patches won't stay there too long...
-
- -rw-r--r-- 1 brossard 819190 Dec 17 14:15 nis.patch-01.tar.Z
- -rw-r--r-- 1 root 117771 Dec 17 15:05 nis.patch.no.libc-01.tar.Z
- litsun# sum *.Z
- 11058 800 nis.patch-01.tar.Z
- 36615 116 nis.patch.no.libc-01.tar.Z
-
- To use the new ypserv, read the included man page on ypserv
- and hosts.nis.
-
- Thanks to all who contributed, you know who you are.
-
- Alain
-
- PS: I've had request for patches for other vendors, since we don't
- have any sources I can't provide them. But we do have HP and SG's
- machines so I would be glad to be a central repository for binaries/
- patches for other vendors.
-
- --
-
- Alain Brossard, Ecole Polytechnique Federale de Lausanne,
- SIC/SII, EL-Ecublens, CH-1015 Lausanne, Suisse, +41 21 693-2211
- brossard@sic.epfl.ch
-
-